home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-07-13 | 1.1 KB | 52 lines |
- # Makefile for the atariST g++ library (32 bit int default)
-
- GXX= gcc
- CC= gcc
- CPP= gcc-cpp
- AR= gcc-ar
- AS= $(CC)
-
- LIB = d:\gnu\lib
- GXXLIB = $(LIB)
-
- # common subset of options; no int size or omit-frame-pointer:
- COMMONOPT = -O2 -fstrength-reduce
- COMMONFLAGS =
- COMMONDEFINES = -DNO_LIBGXX_MALLOC -DNDEBUG
-
- COPTS= $(COMMONOPT) $(COMMONFLAGS) $(COMMONDEFINES) \
- $(XFLAGS)
-
- # dont know why but -fsave-memoized gives false errors
- # about access to protected members
- GXXOPTS= $(COMMONOPT) $(COMMONFLAGS) $(COMMONDEFINES) \
- -felide-constructors $(XXFLAGS) -I$(GXXINC)
-
- # Base options CC; includes int size but not omit-frame-pointer
- CFFLAGS = $(COPTS)
- GXXFFLAGS = $(GXXOPTS)
-
- # normal CFLAGS including int size and omit-frame-pointer
- CFLAGS= $(CFFLAGS) -fomit-frame-pointer
- GXXFLAGS = $(GXXFFLAGS) -fomit-frame-pointer
-
- # cflags for stuff that needs to be compiled with 32 bit ints
- CLFLAGS= $(CFLAGS)
- GXXLFLAGS = $(GXXFLAGS)
-
- # flags to $(CC) when it runs the assembler only
- ASFLAGS= -c
-
- # pre-processor flags
- PPFLAGS= -P # -DNDEBUG
-
- # library targets
- LIBG++= g++.olb
- LIBG++020 = g++020.olb
-
- # the stuff to make
- ALL= $(LIBG++)
- ALL020 = $(LIBG++020)
-
- include mincl
-